﻿namespace com.oakwoodsys.SharePoint
{
    using System;

    [Serializable]
    public class SPUserInfoExpanded
    {
        #region Constructors

        public SPUserInfoExpanded( )
        {
        }

        public SPUserInfoExpanded( string name, string loginName, string email, int id, string sid, string notes )
        {
            Name = name;
            LoginName = loginName;
            Email = email;
            Id = id;
            Notes = notes;
            Sid = string.IsNullOrEmpty( sid) ? string.Empty : sid;
        }

        #endregion Constructors

        #region Properties

        public string Email
        {
            get;
            set;
        }

        public int Id
        {
            get;
            set;
        }

        public string LoginName
        {
            get;
            set;
        }

        public string Name
        {
            get;
            set;
        }

        public string Notes
        {
            get;
            set;
        }

        public string Sid
        {
            get;
            set;
        }

        #endregion Properties

        #region Methods

        public override string ToString( )
        {
            return Name;
        }

        #endregion Methods
    }
}